<html><title>Fig2TestConnectAndDisconnect</title><body>
<h1><a href="Fig2TestConnectAndDisconnect.html">Fig2TestConnectAndDisconnect</a></h1>
<ul><li>Start the chat server:</li></ul>
<table border cellspacing=0 cellpadding=3>
<tr><td ColSpan=2>fit.ActionFixture</td></tr>
<tr><td>start</td><td>ChatServer2</td></tr>
</table>
<ul><li>Anna connects, creates a new room and enters it:</li></ul>
<table border cellspacing=0 cellpadding=3>
<tr><td ColSpan=3>fit.ActionFixture</td></tr>
<tr><td>enter</td><td>user</td><td>anna</td></tr>
<tr><td>press</td><td ColSpan=2>connect</td></tr>
<tr><td>enter</td><td>room</td><td>lotr</td></tr>
<tr><td>press</td><td ColSpan=2>new room</td></tr>
<tr><td>press</td><td ColSpan=2>enter room</td></tr>
</table>
<ul><li>Anna is the only occupant of lotr:</li></ul>
<table border cellspacing=0 cellpadding=3>
<tr><td ColSpan=2>OccupantList2</td></tr>
<tr><td>room</td><td>user</td></tr>
<tr><td>lotr</td><td>anna</td></tr>
</table>
<ul><li>Anna disconnects:</li></ul>
<table border cellspacing=0 cellpadding=3>
<tr><td ColSpan=2>fit.ActionFixture</td></tr>
<tr><td>press</td><td>disconnect</td></tr>
</table>
<ul><li>So there are now no occupants:</li></ul>
<table border cellspacing=0 cellpadding=3>
<tr><td ColSpan=2>OccupantList2</td></tr>
<tr><td>room</td><td>user</td></tr>
</table>
<br>
<table border cellspacing=0 cellpadding=3>
<tr><td>fit.Summary</td></tr>
</table>
<br>
</body></html>
